package com.xhj.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 课程(EduChapter)实体类
 *
 * @author makejava
 * @since 2021-02-26 12:09:03
 */
@TableName("edu_chapter")
@Data
public class Chapter implements Serializable {
    private static final long serialVersionUID = -61611404917188278L;
    /**
    * 章节ID
    */
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 课程ID
    */
    private String courseId;
    /**
    * 章节名称
    */
    private String title;
    /**
    * 显示排序
    */
    private Integer sort;
    /**
    * 创建时间
    */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
    * 更新时间
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}